﻿using MediatR;
using SmartProduction.ErrorCode;

namespace SmartProduction.Read.API.Application.Commands.Allcate
{
    /// <summary>
    /// 调拨单查询命令
    /// </summary>
    public class AllcateQueryCommand:IRequest<APIResult<APIPaing<Domain.yjh.Allocate>> >
    {

        public string? allcateCode {  get; set; }
        /// <summary>
        /// 调拨日期
        /// </summary>

        public DateTime allocateTime { get; set; }
        /// <summary>
        /// 来源仓库
        /// </summary>

        public string sourceWareHouse { get; set; }
        /// <summary>
        /// 来源仓库地址
        /// </summary>

        public string sourceWareHouseAddress { get; set; }
        /// <summary>
        /// 目标仓库
        /// </summary>

        public string targetWareHouse { get; set; }
        /// <summary>
        /// 目标仓库地址
        /// </summary>

        /// <summary>
        /// 调拨状态
        /// </summary>

        public bool IsStatus { get; set; }

        public int index { get; set; } = 1;
        public int size { get; set; } = 2;
    }
}
